package com.aliyun.heiyu.powermaster.server.dao;

import com.aliyun.heiyu.powermaster.server.dao.entity.QosCollectInfoEntity;

import java.util.List;

public interface QosCollectInfoDao {
    boolean insert(QosCollectInfoEntity qosCollectInfoEntity);

    QosCollectInfoEntity findLatestOne(String business);

    QosCollectInfoEntity findLastestOneByName(String name);

    List<QosCollectInfoEntity> findByCondition(String business, String startTime, String endTime);

}
